<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Panelo - Free Admin Template</title>
<link rel="stylesheet" type="text/css" href="/Public/css/style.css" />
<!-- jQuery file -->
<script src="/Public/js/jquery.min.js"></script>
<script src="/Public/js/jquery.tabify.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
var $ = jQuery.noConflict();
$(function() {
$('#tabsmenu').tabify();
$(".toggle_container").hide(); 
$(".trigger").click(function(){
	$(this).toggleClass("active").next().slideToggle("slow");
	return false;
});
});
</script>
</head>
<body>
<div id="panelwrap">
  	
	<div class="header">
    <div class="title"><a href="#">CRM Admin</a></div>
    
    <div class="header_right">Welcome <?php echo ($outid); ?>,  <a href="<?php echo U('logout');?>" class="logout">Logout</a> </div>
    <!--
    
    <div class="menu">
    <ul>
    <li><a href="#" class="selected">Main page</a></li>
    <li><a href="#">Settings</a></li>
    <li><a href="#">Add a category</a></li>
    <li><a href="#">Edit categories</a></li>
    <li><a href="#">Categories</a></li>
    <li><a href="#">Options</a></li>
    <li><a href="#">Admin settings</a></li>
    <li><a href="#">Help</a></li>
    </ul>
    </div>
    
    </div>
    <div class="submenu">
    <ul>
    <li><a href="#" class="selected">settings</a></li>
    <li><a href="#">users</a></li>
    <li><a href="#">categories</a></li>
    <li><a href="#">edit section</a></li>
    <li><a href="#">templates</a></li>
    </ul>
    </div>          
    -->                
    <div class="center_content">  
 
    <div id="right_wrap">
    

<div id="right_content">
  <h2>Customer list</h2>
  <table id="rounded-corner">
    <thead>
      <tr>
        <th width="90"></th>
        <th width="119">name</th>
        <th width="199">tel</th>
        <th width="69">level</th>
        <th width="271">Date</th>
        <th width="84">Category</th>
        <th width="70">User</th>
        <th width="32">Edit</th>
        <th width="48">Call</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <td colspan="12">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut.</td>
      </tr>
    </tfoot>
    <tbody>
      <td height="6"><?php if(is_array($list)): foreach($list as $key=>$v): if((($v["id"] % 2) == 1) ): ?><tr class="odd">
        <?php else: ?>
    <tr class="even"><?php endif; ?>
        
      <td><input type="checkbox" name="input" /></td>
            <td><?php echo ($v["name"]); ?></td>
            <td><?php echo ($v["tel"]); ?></td>
            <td><?php echo ($v["level"]); ?></td>
            <td><?php echo ($v["addtime"]); ?></td>
            <td><?php echo ($v["id"]); ?></td>
            <td><?php echo ($v["uid"]); ?></td>
            <td><a href="<?php echo U('Home/Customer/editCustomer/');?>/id/<?php echo ($v["id"]); ?>"><img src="/Public/images/edit.png" alt="" title="" border="0" /></a></td>
            <td><a href="<?php echo U('Home/Customer/callCustomer/');?>/id/<?php echo ($v["id"]); ?>"><img src="/Public/images/edit.png" alt="" title="" border="0" /></a></td>
   	</tr>
        <!-- <th><?php echo (date('y-m-d H:i',$v["addtime"])); ?></th>--><?php endforeach; endif; ?>

    </tbody>
  </table>
  <div class="form_sub_buttons"> <a href="#" class="button green">Edit selected</a> <a href="#" class="button red">Delete selected</a> </div>
  <div class="meneame"><?php echo ($page); ?></div>
  <div class="toogle_wrap"></div>
</div>



    </div>
    <!-- end of right content-->
                     
                    
    <div class="sidebar" id="sidebar">
    <h2>Customer Admin</h2>
    
        <ul>
         <?php if((($outlevel) < 100) ): ?><li><a href="<?php echo U('Customer/addCustomer');?>" class="selected">Customer add</a></li><?php endif; ?>
            <li><a href="<?php echo U('Home/Customer/showCustomerList/p/1');?>">Customer list</a></li>
            <li><a href="#">test</a></li>
            <li><a href="#">test</a></li>
        </ul>
  <?php if((($outlevel) > 99) ): ?><h2>User Admin</h2>
    
        <ul>
            <li><a href="<?php echo U('Home/Customer/showUserList/p/1');?>">User list</a></li>
        </ul><?php endif; ?>
        
    <h2>My</h2>
    
        <ul>
            <li><a href="#">change pw</a></li>
        </ul> 
        
       
    <h2>Text Section</h2> 
    <div class="sidebar_section_text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    </div>         
    
    </div>             
    
    
    <div class="clear"></div>
    </div> <!--end of center_content-->
    
    <div class="footer">
Panelo - Free Admin Collect from</div>

</div>

    	
</body>
</html>